Quote Originally Posted by jverkoey
These sound like end of year projects....how is it that you don't know how to read a file of all things?

Astonishing....
Not really. If all the OP has been doing is posting his homework assignments to online forums and gather answers (a view supported by the OP's first two posts), then it's a testament to his resourcefulness that he has managed to get this far.

*Use of the singular masculine pronoun is not meant as gender-bias. It's just simpler to write "he" than it is to write "he/she" every time.